#ifndef __ENCODER_H
#define __ENCODER_H

extern uint32_t mills;
extern double angle;
extern double gy;
extern uint8_t *myr;

uint32_t millss();
void TIMBASE_TIM4_Init(void);
void Encoder_TIM1_Init(void);
void Encoder_TIM2_Init(void);
void Read_Speed(void);

#endif
